package haoyou.csnf.manager.module.pm.service.employeeeducations;

import java.util.*;
import jakarta.validation.*;
import haoyou.csnf.manager.module.pm.controller.admin.employeeeducations.vo.*;
import haoyou.csnf.manager.module.pm.dal.dataobject.employeeeducations.EmployeeEducationsDO;
import haoyou.csnf.manager.framework.common.pojo.PageResult;
import haoyou.csnf.manager.framework.common.pojo.PageParam;

/**
 * 职工学历 Service 接口
 *
 * @author 好有经验源码
 */
public interface EmployeeEducationsService {

    /**
     * 创建职工学历
     *
     * @param createReqVO 创建信息
     * @return 编号
     */
    Long createEmployeeEducations(@Valid EmployeeEducationsSaveReqVO createReqVO);

    /**
     * 更新职工学历
     *
     * @param updateReqVO 更新信息
     */
    void updateEmployeeEducations(@Valid EmployeeEducationsSaveReqVO updateReqVO);

    /**
     * 删除职工学历
     *
     * @param id 编号
     */
    void deleteEmployeeEducations(Long id);

    /**
    * 批量删除职工学历
    *
    * @param ids 编号
    */
    void deleteEmployeeEducationsListByIds(List<Long> ids);

    /**
     * 获得职工学历
     *
     * @param id 编号
     * @return 职工学历
     */
    EmployeeEducationsDO getEmployeeEducations(Long id);

    /**
     * 获得职工学历分页
     *
     * @param pageReqVO 分页查询
     * @return 职工学历分页
     */
    PageResult<EmployeeEducationsDO> getEmployeeEducationsPage(EmployeeEducationsPageReqVO pageReqVO);

}